home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1996 June
/
EnigmA AMIGA RUN 08 (1996)(G.R. Edizioni)(IT)[!][issue 1996-06][EARSAN CD VII].iso
/
earcd
/
texts
/
autoindx.lha
/
AutoIndex
/
AutoIndex.def
next >
Wrap
Text File
|
1996-05-15
|
2KB
|
67 lines
STACK 8000
; SCRIPT FILENAME: AutoIndex.def
; DATE : 15 May 1996
; AUTHOR : Colin F. Thompson
; DESCRIPTION : Generates a HTML file(s) that lists all the brushes
; in the selected directories.
; The HTML filename will be DIRNAME.html
; REQUIREMENTS : MUI, MUInt, Arexx, AutoIndex.rexx, WB2.x+
; INSTALLATION : Place MUINT in the path.
; USAGE : Copy this file to the directory that contains
; : the directories you want to make a HTML listing for.
; : Copy AutoIndex.rexx to SYS:Rexx.
;
; : From the shell, execute AutoIndex.def.
; : Select the directories from the listview and press
; : MAKE HTML. When you are done, aim your browser at
; : any of these HTML files to see the brushes in the
; : directory.
;
; DISTRIBUTION : Freely distributable.
; : MUInt and AutoIndex.rexx are © 1994, 1995, 1996 by
; : Both Software. All rights reserved.
; : The full MUInt archive may be found in Aminet as:
; : dev/gui/MUInt_dev_v1.lha. Download it and enjoy!
; This is a MUInt definition script:
;================ LOAD THE LISTVIEW FROM THIS DIRECTORY ============
;================ `CD` IS THE DIR THIS .DEF FILE LIVES IN ============
;================ %F IS PATH, %N IS FILE(dir)NAME ============
SET LOCATION `CD`
list >ram:BRU.LVdir $LOCATION PAT ~(#?.info|#?.html|#?.def|#?.rexx|) lformat "%N"
;================ WRITE THE BUTTON FILE TO RAM: ====================
;========== FORMAT: <FILENAME> "<BUTTONTEXT>;<DOS_COMMAND>" ==========
echo >ram:BRU.buttons "Make HTML;rx AutoIndex.rexx []"
echo >>ram:BRU.buttons "QUIT"
;================ WRITE THE DEFINITION FILE TO RAM: ================
echo >ram:BRU.cl "BEGIN"
echo >>ram:BRU.cl "TITLE *"HTML File Writer*""
echo >>ram:BRU.cl "LV RAM:BRU.LVDIR MULTI SORT"
echo >>ram:BRU.cl "BUTTONS ram:BRU.buttons"
echo >>ram:BRU.cl "WIDTH 66"
;echo >>ram:BRU.cl "DEBUG"
echo >>ram:BRU.cl "END"
MUInt ram:BRU.cl
DELETE ram:BRU.#? quiet
QUIT
; NOTE: You can uncomment the "DEBUG" line to see what is happening
; as the script executes.